﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ICeFramework.Common.DataLayer
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
    public class ValidationAttribute : Attribute
    {
        private ValidationFlags _validationType;
        public ValidationFlags ValidationType
        {
            get { return _validationType; }
            set { _validationType = value; }
        }

        public ValidationAttribute(ValidationFlags validationType)
        {
            _validationType = validationType;
        }
    }
}
